Dns.GetHostAddresses Method (System.Net) - MSDN - Microsoft The GetHostAddresses method queries a DNS server for the IP addresses associated with a host name. If hostNameOrAddress is an IP address, this address is ...